/*
	Some default colors (apart from white and black)	
	
		dark grey:	#131313
		light grey: #808080
		red:		#472323
		green:		#348133

*/

	
/* Redefine basic tags */
	h2, .ui-moduleHd {
		color: #472323;
		font-size: 200%;
		font-family: "Trebuchet MS", lucida, sans-serif;
		margin: 5px auto;
		line-height: 200%;
	}
	
	h2 img, .ui-moduleHd img {
		margin: 10px;
	}
	
	h3 {
		color: #505050;
		font-size: 150%;
		font-family: "Trebuchet MS", lucida, sans-serif;
		width: 90%;
		margin: 5px auto;
		font-variant: small-caps;
		text-transform: capitalize;
	}

	
	a {
		color: white;
		font-weight: bold;
		border-bottom: dotted 1px;
		text-decoration: none;
	}
	
	a:hover {
		color: white;
		border-bottom: 1px solid;
	}
	
	a:visited {
		color: #808080;
	}
	
/* Extra classes */
	.subscript {
		font-size: 60%;
		position: relative;
		bottom: -0.8em;
	}
	
	.superscript {
		font-size: 60%;
		position: relative;
		top: -0.8em;
	}
	
	.center {
		margin: 0 auto;
	}

/* Redefine DyCMS UI elements */

	.ui-formItem{
		background: none;
	}
	
	button {
		background: none;
		border: 0;
		color: #808080;
	}
	
	button:hover{
		background-color: #131313;
	}
	
	/* Hide headers for admin menu, login */
	.ui-moduleHd#modAdminMenu, .ui-moduleHd#modLogin {
		display: none;
	}
	
/* Custom button style & Triplet background style */

	.triplet {
		background-repeat: no-repeat;
		background-position: center bottom;
	}
	
	.triplet:hover {
		background-position: center;
	}
	
	.triplet:active {
		background-position: center top;
	}

	a.button {
		color: #808080;
		display: block;
		height: 40px;
		width: 150px;
		text-align: center;
		margin: 10px auto;
		line-height: 40px;
		background-color: #0A0A0A;
		background-image: url("blood-button.3.png");
		border: none;
		font-variant: small-caps;
	}
	
	a.button:hover {
		color: white;
		background-color: #6C2424;
		border: none;
	}
	
	.buttonArray a.button {
		float: left;
		margin: 10px 10px;
	}
	



/* LiveTable red/black style */

	table {
		border-collapse: collapse;
		font-family: "Tahoma", lucida, sans-serif;
		font-size: 10pt;
		text-align: center;
		width: 80%;
		margin: 20px auto;
		border: none;
	}
	
	th {
		color: white;
		background: #472323;
		font-weight: bold;
		padding: 5px 10px;
		border: 4px solid black;
		
	}
	
	td {
		color: #AAAAAA;
		background: #131313;
		padding: 5px 10px;
		border: 4px solid black;
	}
	
	td.ajaxRow{
		background: #131313 none;
	}
	
	td.codename:hover {
		color: white;
		background: #348133;
	}
	
	td.throbber {
		background-image: url("ajax-loading-gray.gif");
		background-position: center;	
		background-repeat:  no-repeat;
	}
	
	td.ajaxRow .close, td.ajaxRow .minimize, td.ajaxRow .maximize {
		position: relative;
		display: block;
		float: right;
		width: 70px;
		height: 20px;
		border: none;
		margin: 5px;
	}
	td.ajaxRow .close { background-image: url("close-button.png"); }
	td.ajaxRow .minimize { background-image: url("minimize-button.png"); }
	td.ajaxRow .maximize { background-image: url("maximize-button.png"); }
	
	

/* UI Dialog */
.UIDialog {
	border: 1px solid #4A3E3E;
}	

.UIDialog .close, .UIDialog .minimize, .UIDialog .maximize {
	position: relative;
	display: block;
	float: right;
	width: 15px;
	height: 24px;
	border: none;
	margin: 0px;
}
.UIDialog .close { background-image: url("./dialog/close.png");}
.UIDialog .minimize { background-image: url("./dialog/minimize.png");}
.UIDialog .close:hover { background-image: url("./dialog/close_hover.png");}
.UIDialog .minimize:hover { background-image: url("./dialog/minimize_hover.png");}


.UIDialog .top {
	background: url("dialog/top.png") top left no-repeat;
	color: #a89595;
	height: 24px;
	padding-left: 10px;
	font-family: "Lucida Grande", Verdana;
	font-weight: bold;
	line-height: 24px;
}
.UIDialog .top:hover {
	background: url("dialog/top_hover.png") top left no-repeat;
	color: #c8b4b4;
}

.UIDialog .content {
	height: 20px;
	background: #2A2A2A url("dialog/content.png") top left repeat-x;
	color: white;
	padding: 10px;
}

.UIDialog .bottom {
	height: 15px;	
	background-color: #2A2A2A;
}

.UIDialog .handle {
	position: absolute;
	width: 15x;
	height: 24px;
	right: 0px;
	top: 0px;
	background: url("dialog/top-corner.png") top right no-repeat;
	padding-right: 8px;
}

.UIDialog .corner {
	display: block;
	height: 15px;
	width: 15px;
	float: right;
	background: #2A2A2A url("dialog/corner.png") bottom right no-repeat;
	border: none;
}

/* Navigation anchor elements */


	div.navMenu {
		font-family: "Tahoma", lucida, sans-serif;
		font-size: 9pt;
		list-style: none;
		width: 150px;
		margin: auto auto;
	}
	
	div.navMenu li, div.navMenu .navMenuTitle {
		margin: 5px 5px;
		padding: 0;
		font-variant: small-caps;
		border: 1px solid black; /* IE fix */
	}
	
	div.navMenu a, div.navMenu .navMenuTitle {
		display: block;
		text-decoration: none;
		padding: 4px 6px;
		color: #AAAAAA;
		border-left: 6px solid #131313;
		border-bottom: none;
		background: black;
	}
	
	div.navMenu a:hover, div.navMenu span.navMenuTitle:hover  {
		color: white;
		border-left: 6px solid #472323;
		background: #131313;
		border-bottom: none;
	}
	
	div.navMenu a:active {
		border-left-color : #6C2424;
	}
	
	/* no icons */
	div.navMenu .icon {
		opacity: 0.5;
	}
	
	/* second level listed anchors */
	
		div.navMenu ul{
			width: 100%;
			list-style: none;
			margin: 0;
			padding: 0 0 3px 10px;
		}
		
		
/****** HACKS **********/

/*LOGIN FORM*/

form#login {
	width: 200px;
	float: right;
	margin: 20px 50px 10px 10px;
}

form#login table td {
	background: none !important;
	padding: 0;
}

form#login div {
	font-weight: bold;
	font-size: 80%;
}

form#login input {
	color: #808080;
	background: #131313;
	border: none;
	padding: 3px 10px;
	font-size: 75%;
}


/* Generic form button hack */

div#modLogin button[type="submit"] {
	padding: 3px 5px;
	opacity: 0.8;
	margin-left:  60px	;	/* awful hack to center the button */
	margin-top: 10px;
}

button[type="submit"] img {
	opacity: 0.6;
}

button[type="submit"]:hover {
	color: white;
	background-color: #6C2424;
	border: none;
	opacity: 1;
}

button[type="submit"]:hover img {
	opacity: 1;
}

/* IE6 Transparent PNG CSS Fix hack */
div.fixPNG {
	display: block !important;
	float: left;
}


/* Live Table Form Crap */

td.ajaxRow div {
	margin: 10px 0;
	clear: both;
}

div.ui-formItem {
	text-align: center;
}

table div.ui-formItem {
	clear: both;
	padding: 4px 0;
}

div.ui-formItem span {
	font-size: 85%;
	font-weight: bold;
	width: 30%;
	height: 100%;
	line-height: 22px;
	text-align: right;
	float: left;
	margin-right: 12px;
}

div.ui-formItem input, div.ui-formItem select {
	color: #808080;
	background: #131313;
	border: none;
	padding: 3px 10px;
	float: left;
	width: 60%;
	font-size: 90%;
}

div.ui-formItem textarea {
	border: #131313;
	height: 400px;
	background: #131313;
	color: white;
}


div.ui-formItem select {
	width: 25%;
}

.wikiActions a {
	border: none;
}

